Skip to content

fix: get the latest crate version from the crates.io sparse index - #25

Merged
dsherret merged 1 commit into
mainfrom
fix-crates-sparse-index
Nov 17, 2026
Merged

dsherret merged 1 commit into
mainfrom
fix-crates-sparse-index

Conversation

@dsherret

Copy link
Copy Markdown
Member

The scheduled check_updates run fails now and then with Too Many Requests from the crates.io API, which is rate limited by IP address and so by whatever else is running on the runner's shared IP.

This gets the latest version from the crates.io sparse index instead, using getLatestCrateVersion from @dprint/automation 0.15.0 (dprint/automation#17). The index is served from a CDN without that rate limit.

@dsherret
dsherret merged commit 2186d3c into main Nov 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant